Disallow bool vector operations on mixed-length operands.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Oct 2013 16:38:36 +0000 (09:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Oct 2013 16:38:36 +0000 (09:38 -0700)
commit80182e00833f63afb8e2739265dbc7b7ca0c29f7
treed7f9b73bfbb4b91ac5337bf432bc0a45d0971af5
parentb6706938cc4ce4c4f7945cb1722682dda2711e48
Disallow bool vector operations on mixed-length operands.

The old behavior left garbage in the result vector sometimes,
and didn't seem to be useful.
* data.c (Qwrong_length_argument): New static var.
(wrong_length_argument): New function.
(bool_vector_binop_driver): Check that args agree in length.
src/ChangeLog
src/data.c